package org.leetcode.easy.leetcode28;

import java.util.HashMap;

public class Test
{
    public static void main(String[] args) {
        String str = "zhang";
//        String substring = str.substring(0, 1);
//        System.out.println(substring);
        HashMap<Integer, String> hashMap = new HashMap<>();

        hashMap.put(1,"zhang");
        hashMap.put(2,"wang");


        System.out.println(str.length());

        String st2 = "zha";

        String substring = str.substring(1, st2.length());


        System.out.println(substring);

    }
}
